#ifndef _PUSH_BUTTON_PUSH_BUTTON_H_
#define _PUSH_BUTTON_PUSH_BUTTON_H_


namespace push_button
{

class digital_button
{
public:

  digital_button(int pin);

  operator bool(void);

private:

  int _pin;
};

class analog_button
{
public:

  analog_button(int pin);

  operator bool(void);

private:

  int _pin;
};

} // push_button

#endif // _PUSH_BUTTON_PUSH_BUTTON_H_
